.class Lcom/netease/newsreader/view/VoteGallery$1;
.super Ljava/lang/Object;
.source "VoteGallery.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/netease/newsreader/view/VoteGallery;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/view/VoteGallery;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/view/VoteGallery;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/view/VoteGallery$1;->this$0:Lcom/netease/newsreader/view/VoteGallery;

    .line 161
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 2
    .parameter "v"

    .prologue
    .line 168
    iget-object v1, p0, Lcom/netease/newsreader/view/VoteGallery$1;->this$0:Lcom/netease/newsreader/view/VoteGallery;

    invoke-static {v1}, Lcom/netease/newsreader/view/VoteGallery;->access$0(Lcom/netease/newsreader/view/VoteGallery;)Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Lcom/netease/newsreader/activity/MyApplication;

    .line 170
    .local v0, app:Lcom/netease/newsreader/activity/MyApplication;
    invoke-virtual {v0}, Lcom/netease/newsreader/activity/MyApplication;->isKeyback()Z

    move-result v1

    if-nez v1, :cond_0

    .line 171
    const/4 v1, 0x0

    invoke-virtual {p1, v1}, Landroid/view/View;->setEnabled(Z)V

    .line 172
    iget-object v1, p0, Lcom/netease/newsreader/view/VoteGallery$1;->this$0:Lcom/netease/newsreader/view/VoteGallery;

    invoke-virtual {v1}, Lcom/netease/newsreader/view/VoteGallery;->seeVoteResult()V

    .line 174
    :cond_0
    return-void
.end method
